package com.bgs.mapper;

import com.bgs.pojo.Circle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bgs.pojo.vo.CircleTow;
import com.bgs.pojo.vo.FocusOnTow;
import com.bgs.pojo.vo.StoreTow;

import java.util.List;

/**
 * <p>
 * 圈子 Mapper 接口
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
public interface CircleMapper extends BaseMapper<Circle> {
    //后台圈子审核查看
    List<Circle> TowGettableDataQuan(String beforeUserName, Integer orderDetailId);
    //当前登录用户查看关注店铺
    List<FocusOnTow> TowGetData(Integer beforeUserId);


    //查询圈子内容
    List<CircleTow> TowGetCircle(Integer storeId);

    //发布圈子
    int TowAddCircle(Circle circle);
}
